/*
 * @Author       : ljkt
 * @Version      : 1.0
 * @Date         : 2021-10-05 18:00:43
 * @LastEditors: ljkt
 * @LastEditTime: 2024-06-24 10:19:26
 * @Description  :
 */

#ifndef _Dev_Buz_H_
#define _Dev_Buz_H_

#define Dev_Buz_Task_Time (10)
enum
{
    e_INDEX_BUZCMD_NO,
    e_INDEX_BUZCMD_TISHIYIN,
    e_INDEX_BUZCMD_QIDONGYIN,
    e_INDEX_BUZCMD_WANCHENGYIN,
    e_INDEX_BUZCMD_JIESHUYIN,
    e_INDEX_BUZCMD_WARNYIN,
    e_INDEX_BUZCMD_MAX,
};

typedef struct
{
    u8_t Cmd;
    u8_t Run;
} s_dev_buz_t;
extern s_dev_buz_t gDev_Buz;
#define Buz_Cmd(cmd) (gDev_Buz.Cmd = cmd)
extern void Dev_Buz_Init(void);
extern void Dev_Buz_Scan(void);
extern void Dev_Buz_Close(void);
#endif
